import request from '@/utils/request';

// 1. 获取ssocode
export const authorize = async (data: any, options?: API.baseOption) =>
  request('/codemuse_api/codemuse/auth/yumcsso/authorize', {
    method: 'GET',
    data,
    ...(options || {}),
  });

export const callback = async (data: any, options?: API.baseOption) =>
  request('/codemuse_api/codemuse/auth/yumcsso/callback', {
    method: 'GET',
    data,
    ...(options || {}),
  });
